cssimage: Get rid of draw vfunc
authorBenjamin Otte <otte@redhat.com>
Wed, 14 Feb 2018 01:30:42 +0000 (02:30 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 17 Feb 2018 07:04:43 +0000 (08:04 +0100)
commit95ddb5756266b4aaf17c540851ab5ac4f67a5ad2
tree3011beb194dced5fc955ab69f78e9c77070790fa
parent1b8a768279e1cf093b16c6c71965aa5cb1c80682
cssimage: Get rid of draw vfunc

All remaining users of that vfunc now implement snapshot using cairo
render nodes (win32 and radial).

Also, GtkCssImageClass.snapshot is now NULL, so if a subclass doesn't
implement it, it will now crash.
Previously it would try to call the draw vfunc.
gtk/gtkcssimage.c
gtk/gtkcssimagebuiltin.c
gtk/gtkcssimageprivate.h
gtk/gtkcssimageradial.c
gtk/gtkcssimagewin32.c